package com.liangjie;

public class Num {

	public static void main(String[] args) {
		String str1 = "15131351.151313";
		String str2 = "151313515151313";
		
		System.out.println(str1.matches("\\d+"));
		System.out.println(str2.matches("\\d+"));
	}
}
